package com.zzyl.service;

import com.github.pagehelper.Page;
import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

public interface NursingLevelService {


    /**
     * 3.1 查询所有护理等级
     */
    List<NursingLevelVo> getAllLevel();


    /**
     * 新增
     * @param nursingLevelDto
     */
    void addNursingLevel(NursingLevelDto nursingLevelDto);



    /**
     *条件分页查询
     * @return
     */
    PageResponse<NursingLevelVo> selectByPage(Integer pageNum, Integer pageSize, String name, Integer status);


    /**
     * 根据id查询
     * @param id
     * @return
     */
    NursingLevelVo getById(Long id);


    /**
     * 修改
     * @param nursingLevelDto
     */
    void modify(NursingLevelDto nursingLevelDto);


    /**
     * 删除
     * @param id
     */
    void deleteLevel(Long id);


    /**
     * 启用禁用
     * @param id
     * @param status
     */
    void enableOrDisable(Long id, Integer status);
}
